/*
#include "wiimote_win32.h"
#if defined(_ENABLE_WIIMOTE)

#include "wiimote.h"
#include "WiiYourself!/Wiimote.h"

#include "util/timer.h"				// log
#include "util/log.h"				// log
#include "util/common_macros.h"		// macros
#include "util/mmgr.h"		    

#include <cassert>
using namespace input;

WiimoteWin32::WiimoteWin32() :
	WiimoteAbstract()
{
	for (int i=0; i<Wiimote::MAX_WIIMOTE; i++)
		m_WiimoteA[i] = NULL;
}

WiimoteWin32::~WiimoteWin32()
{

}
void	WiimoteWin32::Init()
{
	for (int i=0; i<Wiimote::MAX_WIIMOTE; i++)
	{
		m_WiimoteA[i] = new wiimote();
		m_WiimoteA[i]->Connect(wiimote::FIRST_AVAILABLE);
	}
}
void	WiimoteWin32::Shutdown()
{
	for (int i=0; i<Wiimote::MAX_WIIMOTE; i++)
	{
		UTIL_SAFE_DELETE(m_WiimoteA[i]);
	}
}
void	WiimoteWin32::Tick(float dt)
{
	input::Wiimote*	pCtrl = &GET_WIIMOTE();
	for (int j=0; j<Wiimote::MAX_WIIMOTE; j++)
	{
		wiimote*	pWiimote = m_WiimoteA[j];
		if (pWiimote && pWiimote->IsConnected())
		{
			pWiimote->RefreshState();	// ignore if no change?
			if (pWiimote->ConnectionLost()) continue;		// lost connection with Wiimote

			pCtrl->ButtonUpdate(j, Wiimote::BUTTON_UP,			pWiimote->Button.Up());
			pCtrl->ButtonUpdate(j, Wiimote::BUTTON_DOWN,		pWiimote->Button.Down());
			pCtrl->ButtonUpdate(j, Wiimote::BUTTON_LEFT,		pWiimote->Button.Left());
			pCtrl->ButtonUpdate(j, Wiimote::BUTTON_RIGHT,		pWiimote->Button.Right());
			pCtrl->ButtonUpdate(j, Wiimote::BUTTON_A,			pWiimote->Button.A());
			pCtrl->ButtonUpdate(j, Wiimote::BUTTON_B,			pWiimote->Button.B());
			pCtrl->ButtonUpdate(j, Wiimote::BUTTON_1,			pWiimote->Button.One());
			pCtrl->ButtonUpdate(j, Wiimote::BUTTON_2,			pWiimote->Button.Two());
			pCtrl->ButtonUpdate(j, Wiimote::BUTTON_PLUS,		pWiimote->Button.Plus());
			pCtrl->ButtonUpdate(j, Wiimote::BUTTON_MINUS,		pWiimote->Button.Minus());
			pCtrl->ButtonUpdate(j, Wiimote::BUTTON_MENU,		pWiimote->Button.Home());
		}
	}
}



#endif //_ENABLE_WIIMOTE
*/
